package com.bolong.gmgc.dao.record;


import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.bolong.gmgc.bean.record.Cashcheck;
import com.bolong.gmgc.bean.record.CashcheckQuery;
@Component
public interface CashcheckMapper {
    int countByExample(CashcheckQuery example);

    int deleteByExample(CashcheckQuery example);

    int deleteByPrimaryKey(String id);

    int insert(Cashcheck record);

    int insertSelective(Cashcheck record);

    List<Cashcheck> selectByExample(CashcheckQuery example);

    Cashcheck selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Cashcheck record, @Param("example") CashcheckQuery example);

    int updateByExample(@Param("record") Cashcheck record, @Param("example") CashcheckQuery example);

    int updateByPrimaryKeySelective(Cashcheck record);

    int updateByPrimaryKey(Cashcheck record);
    //执行sql
	void exculsql(@Param("watchhouseid")String watchhouseid, @Param("stopparkid")String stopparkid);
	//如果只有一个人上班
	void exculsqlone(@Param("watchhouseid")String watchhouseid, @Param("stopparkid")String stopparkid);
}